export const options = {
  code1: '<p><b1>map.</b1><b3>addLines</b3><b4>(</b4><b3>options</b3><b4>)</b4>;</p>',
  code2: '<p><b1>map.</b1><b3>deleteLineById</b3><b4>(</b4><b3>图层ID, [线条ID]</b3><b4>)</b4>;</p>',
  options1: [
    {
      name: "id",
      type: "String",
      default: '',
      desc: "图层ID",
    },
    {
      name: "list",
      type: "Array",
      default: '',
      desc: "线条集合，详见List表",
    },
    {
      name: "style",
      type: "Object",
      default: '',
      desc: "图层样式，详见Style表",
    },
  ],
  options2: [
    {
      name: "id",
      type: "String",
      default: '',
      desc: "线条ID",
    },
    {
      name: "list",
      type: "Array",
      default: '',
      desc: "线条点位集合：[lon, lat]",
    },
    {
      name: "style",
      type: "Object",
      default: '',
      desc: "图层样式，详见Style表",
    },
  ],
  options3: [
    {
      name: "color",
      type: "String",
      default: '#F00',
      desc: "图层ID",
    },
    {
      name: "width",
      type: "Number",
      default: 1,
      desc: "线条宽度",
    },
    {
      name: "dasharray",
      type: "Array",
      default: '[1, 0]',
      desc: "线条虚实集合，数组中的数字表示线段和间隔的长度，例如[2, 2]",
    },
  ],
}